package com.cs.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 运费价格体系 
 * </p>
 *
 * @author baomidou
 * @since 2022-06-07 06:17:08
 */
@Getter
@Setter
@TableName("system_price")
@ApiModel(value = "SystemPrice对象", description = "运费价格体系 ")
public class SystemPrice implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("价格体系名称")
    private String name;

    @ApiModelProperty("最低价格")
    private Integer minPrice;

    @ApiModelProperty("所属专线ID")
    private Integer siteId;

    @ApiModelProperty("所属专线名称")
    private String siteName;

    @ApiModelProperty("排序字段")
    private Integer sort;

    @ApiModelProperty("创建时间")
    private LocalDateTime createdTime;

    @ApiModelProperty("更新时间")
    private LocalDateTime updatedTime;


    public static final String ID = "id";

    public static final String NAME = "name";

    public static final String MIN_PRICE = "min_price";

    public static final String SITE_ID = "site_id";

    public static final String SITE_NAME = "site_name";

    public static final String SORT = "sort";

    public static final String CREATED_TIME = "created_time";

    public static final String UPDATED_TIME = "updated_time";

}
